These "Mondegreens" as Vic Smith , an earlier poster, hilariously called them seem to be the musical versions of "Malapropisms". Rem how Mrs Malaprop, a character in a play, used to make inappropriate references, e.g. "an allegory on the banks of the Nile !"