It’s more than just corrosion, it’s also layers of shaving cream/soap, hard water deposits and other things.
But, you have done a little experiment, and got the results you expected - now if there were some way to do this ‘automatically’, would there be a market for it?
A little plug-in razor dryer - would it sell?
Only, $19.95
Teen girls will make you a millionaire..