def get_security_args(security, d):
    """
    Returns the parameters in d that are prepended with the string in security.
    """
    ud = {}
    for key in d:
        if security + '_' in key:
            if key.startswith(security + '_'):
                ukey = key.replace(security + '_', '')
                ud[ukey] = d[key]
    return ud