It is not clear who chose these men, so if you have to translate in active form, use your language's most general way of doing so. Alternate translation: "whom they had chosen to be gatekeepers" (See: [[rc://en/ta/man/translate/figs-activepassive]])
This can be translated in active form. Alternate translation: "The records in peoples' villages included the names of these men" (See: [[rc://en/ta/man/translate/figs-activepassive]])