Wrong
The verb "prevent" takes the preposition "from," as in "prevent cars from skidding." The verb "prevent" never takes the infinitive, as we have here.