A person who, not being subject to any articles of war or articles of the navy, aids and abets—
(a) the desertion of any person subject to such articles; or
(b) the commission by the person of any assault upon a superior officer in the execution of his or her office,
is liable on conviction on indictment to imprisonment for 5 years.