WL#10788: Remove ENCODE()/DECODE() functions

Affects: Server-8.0   —   Status: Complete   —   Priority: Medium

ENCODE()/DECODE() functions  were deprecated in MySQL 5.7.2

This task is to remove them in 8.0.