BACKLOG-945 Use primary key when updating consent usage date
BACKLOG-945 Performance improvement no longer used attribute field to update consent usage since Primary key is already unique
Merge branch 'BACKLOG-945' into develop
This makes updating consent faster by using indexed fields
This required reapplying the fix since code was moved from Services to Consent class between version where fix was created for and develop