(2) The authority to enter into leases under paragraph (1) shall be exercised
(A) in the case of a lease by the Secretary of a military department, subject to regulations prescribed by the Secretary of Defense; and
(B) in the case of a lease by the Secretary of Homeland Security with respect to the Coast Guard when it is not operating as a service in the Navy, subject to regulations prescribed by that Secretary.