I'll have the song on continual loop in my head for the rest of the day

Earworms!

I found the advice to play the song repeatedly does indeed work, well, for me at least, YMMV.

I found this part of that article amusing:

Even the greatest musicians had suffered with earworms, Mr Smith said.

Mozart's children would "infuriate" him by playing melody and scales on the piano below his room - but stopping before completing the tune.

"He would have to rush down and complete the scale because he couldn't bear to listen to an unresolved scale," Mr Smith related.