Replace EscapeParam by GetQuotedParam

The reason I changed object to string argument was since needed to be used by 'like' and then string is more logical.

I deleted EscapeParam since not used anymore.