GDMS: Changes to AccMetadataSet and getNidsFromAccMetadatasetByDatasetIds

Issue: GCP-9264