g10: Change tofu_register & tofu_get_validity to process multiple uids.