Relying solely on two Dobermans to protect you from a mountain lion is dangerous. Mountain lions are larger, stronger, and ambush predators that can overpower multiple dogs. Dogs may also provoke a more aggressive response.
Better protection includes making noise, carrying bear spray, standing your ground, and avoiding running. Awareness and prevention are the best defenses.