edit: the way I remember it is that like any type of radiation, anything that goes into your body stays there pretty much until your death, the only way to keep your "uv capital" in good shape is to be proactive about it, cant do anything retroactively. This is why about 1/3rd of Australians will develop some form of skin cancer in their lifetime.
If you Google this subject there are several websites where people went out and bought cheap an expensive sunglasses and had them tested and reached the same conclusion: UV protection does not justify expensive Raybans.
I have never been comfortable in their presence as my eyes begin to fatigue and I experience discomfort. YMMV.
Lights used in something like a tanning bed, can obviously burn your skin and also damage your eyes that is why people should wear eye protection, or do the healthy thing and not tan at all.
This was one of several reasons I quit that lab. Since then I've avoided academic labs that have UV lights or lasers because I don't trust that the students follow safety procedures at all.