I would first ask B6 to see if they can check the bags all the way through. If the VY flight is available as a BA codeshare, find out that flight number and offer that to them (you never know). And if not, then I would ask them to just check them through to JFK and ask BA to check to BCN.