Fixed "A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE" memcached errors

Change-Id: I27b51a4baec34475513407b604cf4c5fcd561cc9
Merge "Fixed "A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE" memcached errors"