The formaldehyde would be from the OSB. If the foam is off gassing it would probably be pentane (the blowing agent).
There are a variety of indoor plants that will reduce formaldehyde (and other contaminants) in the air. Start by looking up NASA Clean air Study. Some of the best plants are also poisonous so make sure you check that and take it into consideration with plant placement if you have small children or pets.