If it were me, I'd probably use a power relay... perhaps something like this:
https://www.amazon.com/dp/B0078S7J3S/?tag=atomicindus08-20
So the first question I have is, which plug will be the 'primary' one that you plug in the most, and which will be used less often? (Front vs. rear?) I ask because of how we will wire up the relay.
Assuming that you use the rear plug more than the front:
Put the heater connections on the switched terminals 4 & 8.
Put the front plug wires on terminals 2 & 6 with a jumper from 2 to 0 and another jumper from 6 to 1.
Put the rear plug wires on terminals 3 & 7.
The rear power is the 'default' setting so when you plug in the rear plug, the heater comes on through the normally closed contacts between 3 & 4, and 7 & 8.
When you plug in the front plug, power goes to terminals 2 & 6 and jumps over to the coil of the relay to pick it up and change state. Contacts 6 & 8 close, and contacts 2 & 4 close. Now power is going to the heater, and the rear terminals are 'dead' and without power.
If it were me, I'd use a three-prong plug and three wires and connect the ground wires on both ends to the same point on the chassis with a ground screw. I would also keep the hots and neutrals on the same side of the relay. (Hots to 2, 3, and 4 - Neutrals to 6, 7, and 8.)
The datasheet for the relay can be found here:
https://www.mouser.com/datasheet/2/357/105A_W92-8723.pdf
I've included a diagram so you can see what I mean.
Hope this helps.
Mark