The protection from evil spell does not prevent the creature from being charmed. From the SRD:
The person is not being mentally commanded, just charmed. Protection from evil can't stop that effect.
Second, the barrier blocks any attempt to possess the warded creature (as by a magic jar attack) or to exercise mental control over the creature (as by a vampire’s supernatural domination ability, which works similar to dominate person). The protection does not prevent a vampire’s domination itself, but it prevents the vampire from mentally commanding the protected creature. If the protection from evil effect ends before the domination effect does, the vampire would then be able to mentally command the controlled creature. Likewise, the barrier keeps out a possessing life force but does not expel one if it is in place before the spell is cast. This second effect works regardless of alignment.
The person is not being mentally commanded, just charmed. Protection from evil can't stop that effect.