"getting eaten" vs "being eaten"
Solution 1:
Both can save a worm from being eaten and can save a worm from getting eaten are correct, although the get-passive is somewhat more informal. In fact, the get-passive is appropriate in this context since it emphasises the negative consequence of the action (eating) for the patient (worm).
The Cambridge Grammar of the English Language (p1441-1443) discussion of the get-passive includes this extract:
Adversity and benefit: Get occurs predominantly in passives representing situations that have an adverse or a beneficial effect on the subject referent, or on someone associated with it, rather than in passives representing purely neutral situations. Typical examples: Kim got sacked. My watch got stolen.
Solution 2:
I repeatedly hear "She will get indicted." It seems better to say "She will be indicted." I use "get" for physical objects, as in "I will get the hose (for you)."