There is no memory in Gen 7, what it would say would just be "Solgaleo seems to have a fond memory, but it doesn’t seem to be able to remember the details..."
If you have CFW you can decrypt the save on 3DS using tools like JKSV, and Checkpoint, alternative is cyber gadget save editor that theSlayer mentioned, but that is obsolete, pretty pricey just to decrypt and edit a pokemon save.
There is no unban method for the switch out there, I'm afraid you need to buy another unit if you want to play online. If you want to edit pokemon via pkhex do all your editing on one unit and play online on another.
You going have to either play the game yourself or find files to inject them into USUM and then transfer to Sword, XD stuffs are rare, since they are Gen III.