If you want to know more than one thing, you need more than one sensor. In fact, many engines today have not just two oxygen ...
I like this report from Ford on how they keep self driving sensors clean. They have air blowers which can divert any insects heading for the sensor up and over it, and sprayers and other air blowers ...