(117) Was the engine at operating temp when you ran the scan??If not,that could be the reason for this code.Another cause could be if you had the sensor harness disconnected and turned the key on or started the engine with it disconnected.If the things listed above check out OK,test the sensor while the engine is cold & while its at operating temp,to see if its bad or not.Just disconnect the harness,attach multimeter leads to the sensor terminals,set the meter on ohms & take a reading.The values should match the chart below.
(217) Most likely a bad spark plug or plug wire on cylinder #3
(332) Make sure the vacuum hose(between the evr solenoid & egr valve) is connected & its not leaking.Make sure the harness is attached to the evp sensor.This code normally gets logged because the evp sensor output voltage did not change when the ecm expected it to register valve opening via an evp voltage increase.
The o2 sensor codes could be due to a loose/corroded/broken HEGO ground wire(orange wire with the ring terminal attached by a rear intake bolt or passenger cylinder head rear)
They could also be due to a vacuum leak or a malfunction in the thermactor system.The following link lists the causes for o2 codes but the codes displayed are in a two digit pattern instead of the three digit like yours.They share the same meaning & can be tested using the same methods.
O2 Sensor Codes 41/42/91/92 Troubleshooting