Glad your switch is ok. It is very scary that people are putting brick code into games. Time for everyone to make sure they have a current backup.
Follow this guide:
https://gbatemp.net/threads/backup-...-your-biskeys-tseckeys-keys-txt-guide.513386/
Follow this guide:
https://gbatemp.net/threads/backup-...-your-biskeys-tseckeys-keys-txt-guide.513386/