2011 Toyota Corolla - Mass airflow sensor issue

I never got a light but have had two failures. The one acted like it was starved for gas and the other just provided a rich mixture. Replacing them is a common solution.