[FixRM:#8131] & [FixRM:#8133] - Fix Base64 func usage

Instead of using Base64, these modules should use Rex.
Land #2066, use Rex instead of Base64