Fix instantiation issue in DataValueFactory and add deprecation notice

Change-Id: I4441adc0bed77a892f7f3ff1de9c5c1a0afc92bd
Merge "Fix instantiation issue in DataValueFactory and add deprecation notice"