Refactor BytesValues to be reused as the interface for HashedBytesValues and remove HashBytesValues.