Are new stars less pure as generations go by? If stars are primarily made of hydrogen, which is then burned to helium, and then on and on and on down the chain until you either reach iron, or in extreme cases much heavier metals, this then implies that as time goes on, more and more heavy elements will disperse into the universe.
Now, the universe is huge, and there's still a lot of hydrogen left to make stars out of.
That being said, in denser star-forming regions, much of this gas is available for recycling as the remnants of old stars get turned into new ones.
Doesn't this all this imply that as time goes on, more and more heavy metals will be included within young stars from the start?
It may be a very small percentile, sure, but it I assume it would increase slowly as the generations go by.
Furthermore, I assume many rocks get swallowed up by a star during the formation of the planetary disc, which likely adds to the impurity.
Does any of this have any adverse effect on the lifespan of the sun? Or are we talking quantities so small in objects so huge in time-spans so large, that even a dip of a hundred years is completely meaningless?
The chemical enrichment of the Universe over time is indeed a thing. The plot below (source) shows observational measurements of the cosmic density of ionised Carbon in the Universe against redshift (higher redshift -&gt; further back in time). The abundance of other heavy elements over time shows a similar trend.

Stars are explicitly classified based on their metallicity, and its direct relation to which generation of stars they are part of. This is known as the Baade chemical classification. The first stars to form from primordial gas are confusingly known as Population III. These stars have yet to be observed, but it's hoped that the James Webb Space Telescope may glimpse them. They are theorised to be very massive and short lived, hence the difficulty in detecting them. The next generation, formed from the enriched material from this first generation of stars are known as Population II. And the subsequent generation, of which our own Sun is a member, are Population I stars. Population I stars have the highest metallicity, due to the fact they formed from material that has already participated in Population III and II star formation.
The metallicity of a star is almost entirely determined by the metallicity of its birth cloud.  Stars do swallow up small amounts of material over their lifetimes, but this does not significantly affect the overall metallicity of a star. A stars lifetime is mostly set by it's mass, and whilst metallicity does have a small effect, it doesn't change significantly due to outside effects over a stars lifetime.