(a)
If in time of war, with respect to any claim against the United States on which a suit described in section
7721 of this title would lie, the Secretary of the Navy certifies to the court, or to a judge of the court, in which proceedings are pending for—
(1)
the granting of a dedimus potestatem to take depositions;
(2)
a direction to take depositions in perpetuam rei memoriam; or
(3)
the taking of depositions or production of evidence pursuant to such dedimus potestatem or direction, or pursuant to any other proceedings for the purpose;
that the proceedings would tend to endanger the security of the United States or any of its naval or military operations in the war, or would tend to interfere with those operations, then the proceedings may not be started or, if they have been started, they shall, when the certificate is filed, be stayed.