Given my limited knowledge of electrolysis, I would expect that pins (particularly brass ones) would suffer more from the process than the rust would, if you put a complete razor in the solution.