Hey!
Thanks for contacting apple communities! From my memory yes because you haven't purchased each individual song but I would still take a screenshot of all of your sound and playlists, if you want to keep using the apple music service the all you need to do it just go on the App Store press on your iCloud photo , then press on managed subscriptions and then renew it by pressing the length of time you want. Then if you do that before your free subscription ends then all of your music and playlists will remain as they are!
I hope this is all the information that you were looking for!
Jack