Jenny (the maid in last week's episode, not the Doctor's daughter) was, or becomes, Pirate Jenny from the Threepenny Opera, with the space pirates from the episode a few weeks ago operating the Black Freighter.
This needs someone a lot more musical than me to write it.