PEO protective coatings on inner surface of tubes