If you couldn’t get a song out of your head and it was causing you distress you would know FOR SURE that the actual song itself was NOT the problem.
If it was just a song you wouldn’t worry so much (though it can be just as wearisome) – you wouldn’t add too many other anxious thoughts or analyse and worry about the lyrics or think you had a problem related to the actual SONG.
You would readily accept that you were suffering from mental fatigue and that it was all tied in with your anxiety. You would easily be able to see that the song was not the problem – the problem is the underlying fatigue and anxiety.