Fix base64 string deprecation