You will need to have the code cleared with a scanner. The smartcraft wont let you clear this type of error code.
Run the engine for a decent amount of time to see if the new O2 sensor is working properly while the tech is there. If the error reoccurs he will be able to see what the sensor is...