I would say it won't damage anything as long as heater wire isn't short.
Your engine management system only receives the signal from O2 sensor, short the receive port with ground won't damage the computer module. also the O2 sensor outputs very low power signal, not enough to damage itself as all.
Different story if heater wire is short.
99 BMW 540i 6-speed 110K Km
03 SAAB 9-5 wagon 80K Km
92 400E (Sold) 245K km
Still missing the days with the Benz, it kept me busy.