Harris' ex-girlfriend, American singer-songwriter Taylor Swift, co-wrote the song under the name Nils Sjöberg. BMI, which publishes a list of songwriting credits, changed the name to Swift's real name.