[protector] fix warning error

Using deprecated API: use $config->get('$key.$a') instead