I need help to fix this problem. Every time I play super smash bros melee, I get a corrupt memory card message. I format the memory card and it still happens. Is there a way to fix this? By the way I'm using Dios Mios Booter.

Nintendont also has the advantage (alongside Devolution, which I would personally recommend if you own a working Melee game disc and a Wii) of working on the Wii U, in Wii mode (aka vWii)I recommend using Nintendont instead, which is not saving savefiles directly to SD/USB but are using an emulated memory card file.
Memcard.raw <-- inside you have blocs and it can store multiple games, etc. just like a real card.
Nintendont doesn't need MIOS replacement, and don't care if you installed a different MIOS.
it will not conflict. You can have both DIOS MIOS and Nintendont at the same time.
see the first post of nintendont thread (in the vWii section) to see how to install and setup.