Use a helper function to get the requirement key

Change-Id: I05a3a664570a7ce058e3efda3089a56886ee59ce