[Installation XPC Service] Added xpc message key constants instead of hard-coded string keys. Fixed memory leaks.