Add a method to get the consent timestamp.