No search warrant shall issue under this chapter or under any other law of this state to search any private dwelling occupied as such unless:
If, during a search pursuant to a warrant issued under this section, a child is discovered and appears to be in imminent danger, the law enforcement officer conducting such search may remove the child from the private dwelling and take the child into protective custody pursuant to chapter 39. The term "private dwelling" shall be construed to include the room or rooms used and occupied, not transiently but solely as a residence, in an apartment house, hotel, boardinghouse, or lodginghouse. No warrant shall be issued for the search of any private dwelling under any of the conditions hereinabove mentioned except on sworn proof by affidavit of some creditable witness that he or she has reason to believe that one of said conditions exists, which affidavit shall set forth the facts on which such reason for belief is based.
Fla. Stat. § 933.18