Stainless steel is more noble than carbon steel, but not all grades of stainless are the same. Galvanic corosion requires that the liquid is an electrolite.
I can't give You specifics, but if You give more details, carbon steel alloy, stainless alloy, and what liquid, maybee someone else can.