(a) The head of a law-enforcement agency or head of a campus police department, as those positions are defined in 15-10-3 of this code, may assign law-enforcement personnel under his or her command to provide assistance, cooperation, and information to the National Guard of this state or any service component of the United States Department of Defense located in this state upon the written request of the Adjutant General or commanding officer of the unit or facility.
(b) The assistance authorized by subsection (a) of this section may be provided for, but not be limited to:
(1) Alleged violations of the federal and state Codes of Military Justice;