def METHOD_NAME(self, cookies):
    filter_lambda = lambda c: not c.startswith("bb_session=deleted") and c.startswith('bb_session')
    replace_lambda = lambda c: self._replace_sensitive_data(c)
    cookies = list(filter(filter_lambda, cookies))
    cookies = list(map(replace_lambda, cookies))
    return cookies