If you were showing O2 codes it would more than likely be your cats. If your cats were bad and you sealed up the leak the excess back pressure could potentially damage your engine and it would start leaking again. But you do not have this problem. So weld up the hole.