def METHOD_NAME(qryResult, fieldToBeRemoved, log):
    print 'Removing field name '+fieldToBeRemoved
    log['Updated licenseObligation fields '+fieldToBeRemoved] = []
    for entity in qryResult:
        del entity[''+fieldToBeRemoved+'']
        if not DRY_RUN:
            db.save(entity)
            print 'Removing field name '+fieldToBeRemoved+' done for '+entity.get('_id')
        updatedDocId = {}
        updatedDocId['id'] = entity.get('_id')
        log['Updated licenseObligation fields '+fieldToBeRemoved].append(updatedDocId)