I mean the military does not enforce criminal laws within the borders of the United States of America, except perhaps in cases of martial law.
In other words, the military enforces military laws.