If Shepherd first decides to save the facility and workers, they need to use the charm dialog option to persuade Zayed and ensure his loyalty at the climax of the mission. If you choose to chase Vido and leave the facility to fate, Zaeed’s loyalty will always be ensured.