Im not a doctor but i dont think it affects your lifespan. My great grandmother is in her 80s and she has one and it doesnt slow her down :)
Why are you getting a pacemaker??
I don't know that your life span will decrease just because you have one. I know a handful of people who got them younger and are old now.