Don't send unused fields for service provision

[#50046207]
Refactor unique_attributes.rb file
Differentiate compound unique keys from multiple unique keys

[#50046207]