The 12 pin if it is small white in color is the radio harness. You would use the BT PAN CAS to plug into it and wire the other end to your new radio.
The small harness is most likely an option pluge if male would plug into the factory radio as well. You will not use it for an aftermarket radio.