In all cases where existing deeds of trust or mortgages are judicially foreclosed, unless a different amount is set up in the mortgage or deed of trust, and in all cases of mortgages and deeds of trust executed after this act takes effect, the mortgagor or trustor may be required to pay only such amount as trustee’s or attorney’s fees for processing the judicial foreclosure as the court may find reasonable and also the actual cost of publishing, recording, mailing and posting notices, litigation guarantee, and litigation cost of suit.