Unfortunately, this is a tough problem to have.
Sweating is a uncontrollable event that happens. You can try drying agents to see if it can be controlled. Lots of daily sock changes as well. May try Botox
injections just like they do for arm pit sweating. Good luck.