Yes, light can cause the metal to get warm because light carries energy. When light energy is absorbed, a material can change such as get warmer. In this case, only infrared light energy may make the metal warm because it is the only light that is absorbed.
Because she doesn't want to do the assignment and she doesn't want her past uncovered which is why Anagnos says, "Annie. I wrote them no word of your history."