Senator proposes law to protect military from prosecution