New iPhone XR won't stop asking me to log into random Apple IDs?

I got a brand new XR yesterday and I was filling it with my iCloud data when I got a popup message saying "Sign into iTunes store. Entire the password for your Apple ID: " but it was a random email address that I d never heard of. I clicked cancel, then it happened again, and again, and again at least 100 times.

I have some music on my iTunes that was illegally obtained (someone else bought it and then uploaded it) and I then realized that these emails were the emails of the people who bought these songs/albums and uploaded them for free download. After 10 minutes or so, the popups stopped only to happen again this afternoon and now again in the early evening. I know it's not ethical but I have so much music in my iTunes from these emails, so is there any way to stop these popups without deleting my music?

You can't. Those tracks are tied to the other accounts, and the new phone would need to be authorized to play songs from those accounts.

  • Would you get a notification on your iPhone if your Apple ID was used to log into another device? I'm unsure if I have unknowingly given my Apple ID to a scammer in the past, but I curious would I have received a notifcation on my iPhone, in a form of a text or pop up? I've heard that before and I wanted to make sure. Even if you didn't have two-factor authentication on.
  • Sharing music on different Apple IDs? My younger sister just got an iPhone and set up her own Apple ID for it so she can have her own messenger and that kind of thing. She has no music on it though, and wants to share music with me. The problem is, she has no computer of her own, so I don't know how to homeshare with her. All of the computers in our house are already associated with Apple IDs and don't allow her to have her own account on them. Any advice?
  • Notifications to sign into itunes won't stop popping up on my new iphone 7. How do i make it go away? Notifications to sign into itunes won't stop popping up on my new iphone 7 even though I signed in already, and now it keeps saying its incorrect while I'm still signed in. It refuses to go away so I'm unable to actually do anything on my phone. How do i make it go away?
  • How to Transfer Apps between Apple IDs? My mother just got an iPad. I have an iphone and I bought a few games that I would like to let her play without her paying. I heard this was legal because its within family. What do I do? Do I log into Itunes through her iPad and then download? What are the complications of logging my apple id into her than switching?