Multiple owners for the same iPhone
I gave a friend my old iPhone 5 and thought I had taken all my information out. We signed in to my old iPhone with her iPhone user id and password. The iPhone 5 is now unusable so she purchased a new iPhone. It appears that her new iPhone has 2 users. Today she had an Apple update and when she went to log back in it gave my name as the owner. I've gone in to appleid.apple.com when I gave her the phone and took the iPhone 5 out. Now when I check Appleid it doesn't show my old iPhone 5. Next we went in to her Appleid and took the old iPhone 5 out and it shows only her new iPhone. Any idea's on how to take my original Appleid and information out of her Apple accounts would be very much appreciated.
iPhone 12 mini