Measure the resistance between ECM and chassis ground.
Connector & terminal
(B136) No. 12 — Chassis ground:
Is the resistance 1 MΩ or more?
Repair the short circuit to ground harness between ECM and brake switch connector.