The Song of Time resets time, but not fully, since Link retains certain key items when he travels back, including all his masks. Whatever magic powers the Song of Time in Majora's Mask clearly does not affect the magic already performed on the transformation masks, as every time you reset time...