We can say either; "We must prevent the environment from being damaged" or ".....protect the environment from damage"
You can protect a person from something, and you can prevent a person from doing something.
You would be understood if you said "we must protect the environment from being damaged" but it sounds clumsy.
Hope this explains it!
- For Teachers