My '99 Ford Contour won't pass smog?

My '99 Ford Contour won't pass smog?!

Added (1). Help! My '99 Ford Contour check engine light came on right when i need to get the car smogged. I took it to a smog check station and was told i was going to fail because of code: P1131 so he reseted it and removed the CE light and told me to do a few drive cycles a few times. I did the drive cycles 2x and went back, still nothing. Took it to another smog place and passed emissions but still failed and told me to drive for at least 300mi. I'm starting to feel like my car isn't going to pass.

I'm confused, so did you fix the problem? Sometimes a code will come on after a car has been sitting for weeks, then go away after being driven a few times, but that does not sound like your situation.
You may need a new O2 sensor. That is not hard to replace. Get one from the dealer to make sure it works right.
Also the code may be pending. What happens for an O2 sensor is that the car reads a problem, but it does not want to throw the code in case it was just a one time issue related to car sitting, battery died, etc.
So it sits in pending for say 3 cold starts and 100 miles of driving, then it will come on.
So I think that is what is happening here, and most likely the CEL will come back on.