At least according to the article, there seems to be some evidence that shorter wavelength UV can’t penetrate deep enough to cause those issues. It gets absorbed by the outer dead skin layer and liquid layer around your eyes.
From what they’re saying, it sounds like the biggest issue now is that UV light creates ozone and smog, which are obviously toxic. And that doesn’t seem to have an obvious solution, in the article they’re basically discussing how much smog is an acceptable trade off
According to that article, this only covers donations to other organizations who then distribute the donated food. It doesn’t cover anyone directly donating food to individuals.
So for a restaurant, they would need to donate food to a food bank or something, and that would mean food that isn’t immediately going bad. And if that’s the case they’re probably just going to keep it and try to use it later. If they want to donate the leftover food at the end of the day they can’t use anymore, there probably isn’t any time left other than to just give it to some homeless people outside the restaurant, which this act doesn’t protect against.
Which then just raises the question for me, why isn’t this also protected against? The act already states that the food has to be seemingly good condition, so you can’t just serve mold and say it was a gift. What’s the harm in feeding homeless people?