Plenty of small IC engines run the water against the CI liner so should not be a problem.
Corrosion should not be a problem unless passages are very small, and add a bit of antifreeze to teh water which has inhibitors to counter rust.
Either press fit the liner to the cylinder, high temperature loctite of have O ring seals at the top and bottom of the liner.
J