Fixes Keygen on service layer;

Signed-off-by: ashwinh <ashwinh@cybage.com>