This commit harmonizes the equals/hashCode behavior of OverrideMetadata to always take the implementation class as a factor for its identity. This is important as two OverrideMetadata implementations could use the same strategy and other settings while creating the override value in a totally different way. This commit makes sure they are identified as different. Closes gh-33005