Replaced EscapeParam by GetQuotedParam so that unicode quoting works for everything. The reason I changed object to string argument was since needed to be used by 'like' and then string is more logical.