code: func (ssa *SQLStorageAuthority) DeactivateAuthorization2(ctx context.Context, req *sapb.AuthorizationID2) (*corepb.Empty, error) {
  	_, err := ssa.dbMap.Exec(
  		`UPDATE authz2 SET status = :deactivated WHERE id = :id and status IN (:valid,:pending)`,
  		map[string]interface{}{
  			"deactivated": statusUint(core.StatusDeactivated),
  			"id":          *req.Id,
  			"valid":       statusUint(core.StatusValid),
  			"pending":     statusUint(core.StatusPending),
  		},
  	)
  	if err != nil {
  		return nil, err
  	}
  	return &corepb.Empty{}, nil
  }
docs: // DeactivateAuthorization2 deactivates a currently valid or pending authorization.
  // This method is intended to deprecate DeactivateAuthorization.