What do the appleprofilepolicyd and wdhelper processes do?
From the Apple Developer man pages:
appleprofilepolicyd is a system daemon that implements a policy for the services provided by AppleProfileFamily. When an AppleProfileFamily user asks to perform an action, this daemon is invoked to make the final policy decision.
Essentially, this governs what apps, accounts, processes, etc. have access to what services and activities.
I believe wdhelper is a LaunchDaemon that is implemented by, for example, a WD MyBook drive when it is installed to the Mac.