Brazil is attracting strong foreign direct investment after a scandal involving its meat industry, the country's finance minister said.