code: func newCCPolicyProvider(ctx context.Client, discovery fab.DiscoveryService, channelID string) (CCPolicyProvider, error) {
  	if channelID == "" {
  		return nil, errors.New("Must provide channel ID for cc policy provider")
  	}
  
  	cpp := ccPolicyProvider{
  		context:   ctx,
  		channelID: channelID,
  		discovery: discovery,
  		ccDataMap: make(map[string]*ccprovider.ChaincodeData),
  	}
  
  	return &cpp, nil
  }
docs: // NewCCPolicyProvider creates new chaincode policy data provider