Notice to a bank of an adverse claim to a deposit standing on its books to the credit of a person is ineffective unless the adverse claimant procures a restraining order, injunction or other appropriate process against the bank from a court in a cause where the person to whose credit the deposit stands is made a party or executes to the bank in form and with sureties acceptable to it a bond, indemnifying the bank from any liability, loss, damage, costs and expenses on account of the payment of the adverse claim or the dishonor of the check or other order of the person to whose credit the deposit stands on the books of the bank. This section does not apply where the person to whose credit the deposit stands is a fiduciary for the adverse claimant, and the facts constituting that relationship and the facts showing a reasonable belief on the part of the claimant that the fiduciary is about to misappropriate the deposit are made to appear by the affidavit of the claimant.