Here's a good summary of the book origins of the song that Sheeran is singing:
http://screenrant.com/game-thrones-e...an-cameo-song/
Yes, it's about stuff from the books, but there's nothing mentioned that hasn't already happened on the show or that deviates from the story on the show.