A person must not be required to provide a personal identifier under section 257A if:
(a) the person is in immigration detention (but not only because he or she is detained for questioning detention (see section 192)); and
(b) the person has, during that detention, provided a
personal identifier of that type under Division 13AA.