Add AttachedEntityMetadata internal to EA to optimize rid and rversion resolution