A 25 year lifetime is not true.
There are 30 old panels that are still generating in spec.
Since then there has been massive research and development, manufacturing improvements, quality improvements and standards development, accelerated aging test to make sure that they will last at least 25 years. There is no indication that panels won't last many decades after that.
Yes there needs to be some action on recycling, as other countries have done.