Corrosion resistant mass flow sensor