The newer vehicles have protection built in to the ecm to protect them not sure if yours does but if you replace ecm and there is a short in a component or wiring it will kill the new ecm. The qdm codes are hard to diagnose without specialized equipment. Could check resistance on wiring and components for opens or shorts. Check voltage and current with component on and off.