I hope by ’corroded’ you mean ’tarnished’.
If that is what you mean, a small strip of metal cleaning/polishing cloth should work, followed by a cleaning with 91%+ alcohol.
Loop the cloth around a pin, pinch it with tweezers, and clean with an up and down motion. When nice and shiny (untarnished looking), pour the alcohol into its bottle cap or a bowl to pin depth and stick the pins in it. let it sit in it a bit, then take it out, dip the tip of a paper towel in, and repeat the tweezer thing, finishing with a dry paper towel.
A Dremel tool I think is best, get a polishing attachment and you won't have to go through all of the above!