The student may invoke the first amendment to the United States Constitution, which is part of the United States Bill of Rights.
In this declaration, Congress is prohibited from, among other things, establishing an official religion in the country. That is, it is a device that guarantees religious freedom.
In this way, the student can claim that by referring to God, the Loyalty Promotion should not be mandatory.