does a metal mass change when it's heated

If it simply gets hotter, no. If it gets hot enough to combine with oxygen, nitrogen, or some other element, yes.