Add deprecation message to unused constant

Change-Id: Ifcc4e021fa3843129f6501d6526e4d4f5c6930fb