Synchrotron light helps study the past, prevent corrosion in future