O2 sensor removal socket

Hi to all just replaced Maf sensor and now I want to replace the o2 sensors can anyone tell me which size socket I will need for this is it 22mm or the harder to source 17mm socket with the slit up the side to accommodate the wire

For the XJS, which I believe uses the same part number is it the outrageously common 5/8"

When you get your new sensors, you can do a test fit using them. It will be same for the new and the existing.

Thank you makes perfect sense