use distinct variables for memckey and transcode key

Change-Id: I6c4b540db44781daadad3302ef3b684070eb7fd0