Both are due to the same photoelectric effect according to Wikpedia, however it doesn't seem like xenon flashes are the most suitable thing to erase those chips and I don't think ultraviolet lights would cause the same issues on the Pi that an xenon flash would.
I never heard that camera flashes could actually erase the EPROM. They just disrupted its operation ... which sounds a lot like parasitic photoelectric effect.