2001 Elantra owner here
Don't know about your car
But my car, the O2 sensor was a bear to get out
I tried the O2 sensor wrench ... failed
I tried it with cheater bar ... failed (broke the O2 wrench)
I tried to remove it with a plumber's pipe wrench ... failed
I tried using propane to heat it up and pipe wrench ... failed
Finally I took it in to a garage and paid fifty dollars to remove the darn thing
Oxy-acetylene torch and pipe wrench, they got it out (20 minutes)
The O2 sensor looked like it had no threads
This is wear and tear of living in the salt belt.
Got a thread chaser to fix the threads on the pipe and put in the new O2 sensor
I never want to do that again
Good luck to you