ECM wire diagram. on 2001 Buick Regal

A customer brought us a used car that had a lot of electrical problems. after inspection we determined that it was the ECM located underneath on the driver side. There were a lot of splices that apparently was to a previously self-installed remote starter switch. I had to solder and heat shrink the splices that were left exposed. Also a brown wire was left pulled out of the ECM connector. My question is where does this one brown wire plug into? Thank you for any help.

2 answers
Need to know what engine is in this car. Either a Vin code 1 3.8 SC or a Vin code k 3.8.