code: func (s *CommonStorageDB) ApplyPrivacyAwareUpdates(updates *UpdateBatch, height *version.Height) error {
  	// combinedUpdates includes both updates to public db and private db, which are partitioned by a separate namespace
  	combinedUpdates := updates.PubUpdates
  	addPvtUpdates(combinedUpdates, updates.PvtUpdates)
  	addHashedUpdates(combinedUpdates, updates.HashUpdates, !s.BytesKeySupported())
  	s.metadataHint.setMetadataUsedFlag(updates)
  	return s.VersionedDB.ApplyUpdates(combinedUpdates.UpdateBatch, height)
  }
docs: // ApplyPrivacyAwareUpdates implements corresponding function in interface DB