Where will the dividends go if my bank account is frozen?

My bank account got frozen due to KYC issues and is no more accepting credit of funds, debit is allowed. What will happen to the dividends that I receive from the equities I hold?
consider that I do not have any other bank account to link and it’ll take me about a month to open new account or unfreeze the last one.