add deprecation notice to legacy code (and fix memcache tag)

Change-Id: If61a0b31c7b66354c526d9e2e42eaa23279e0977
Merge "add deprecation notice to legacy code (and fix memcache tag)"