for pre 2002camry
if it is Cali emission, get the A/F sensor for upstream
if it is Federal emission, get the Oxygen sensor for upstream
denso oem style from rockauto or amazon seem to be the same item toyota dealership except higher price and has toyota part number stamp on the sensor.
i hooked up P1155, Air/Fuel Sensor Heater Circuit. (Bank 1 Sensor 2)
it is pointing to the downstream oxygen sensor after the CAT converter.
http://www.obd-codes.com/trouble_codes/toyota/
not sure if the link post the accurate information.
i know since 2002 camry v6, there are 4 sensors, 2 A/F for upstream, and 2 Oxygensor for downstream, doesn't matter cali or federal emission.