Which preposition to use with corrosion

of Occurrences 13%

The secret corrosions of the ship-worm will sink a fleet.

in Occurrences 2%

If the valves be lifted up, and be suffered to remain up, as is the usual practice, they will become fixed by corrosion in that position, and it will be impossible after some time to shut them on an emergency.

Which preposition to use with  corrosion