The air intake could have filters, dehumidification, and drying via desiccant. I can’t imagine they would just run plain atmospheric air with all its pollutants through such a high efficiency, high energy battery.
The material resulting from discharge (Li2O) is very stable. Water (or LiOH) would break down before it on the charging process. There isn't a lot of stuff on the air that could contaminate it.