を守るのが

protecting ... is

→ を
phrase Rare #34,531
protecting ... is The を marks what is being protected, while の nominalizes 守るのが as “protecting ...” or “to protect ...”; が marks it as the subject of the sentence. The phrase is usually followed by a description such as a duty, role, or difficulty.
JA: 家族を守るのが私の仕事です。
EN: Protecting my family is my job.

生徒の中には規律を守るのが大変なものもいる

Some students have trouble following the rules.

家族を守るのが男だ

A man's role is to protect his home and family.

— シカゴ (2002)

証人を守るのが役目

My job is to protect the witness.

— 落下の解剖学 (2023)

私はこの子供達を守るのが私の義務だと信じる

I believe it is my duty to protect these children.

私は子供達を守るのが私の義務だと信じる

I believe it is my duty to protect the children.