keymgmt: convert to use the params modification detection.