If the wires in that three pin are Dark blue/white trace, Violet/Black, and Black, that's for the Mirror. The wires are, respectively 12 volt switched ignition. (power) Backup lamp feed wire, (so it knows when you are backing up......), Black wire eventually gets to ground.
You may need the Central Timer Module out of the 99 to make everything else work. If you didn't have one initially, the current CTM in your truck doesn't tell the console anything. Thus, the CCd error.