I had a similar problem, but it was putting the thing in!
When installing my Pioneer headunit myself, i had no idea what colour wires connected to the Pioneer harness. I almost gave up, then a little voice in my head said "pull it apart".
So i did.
"HOLY CRAP!" i exclaimed.
On the PCB it had the function of each wire! FR=Front Right, RR=Rear right, '12v+'= 12 volts positive etc
I was so happy.
So maybe you could 'sneak a peak' in the CD player and see if the PCB labels which wires in the harness connects to what. Then all you gotta do is stick the pins back into the original harness as the PCB dictates.