If Agent A introduces your property to a person and that person buys it from Agent B (who is legally allowed to sell it whether by open listing or a subsequent exclusive), then both agents are legally entitled to the sales commission.
How is this protected against? Do sale contracts usually have the buyer indicate they weren't introduced to the property by another agent?
You only pay one commission. Its up to your agent and the other agent to work it out.