def METHOD_NAME(self):
    guard_key, pin_success_log, pin_entry_log = self._get_logs()
    guard_mask, guard = self.derive_guard_mask_and_value(guard_key)
    assert (pin_entry_log & guard_mask) == guard
    clean_pin_entry_log = self.remove_guard_bits(guard_mask, pin_entry_log)
    clean_pin_entry_log = clean_pin_entry_log >> 2  # set 11 to 00
    pin_entry_log = (
        clean_pin_entry_log & (~guard_mask & consts.ALL_FF_LOG)
    ) | guard
    self._write_log(guard_key, pin_success_log, pin_entry_log)