This can be done by driving a pin low in the cameras USB socket (mini 8 pin) and driving another pin low if you want it to focus first.
What camera are you talking about and where is the information you got that says driving pins low in a USB socket will perform the required task of focus/shutter? If this is the case then the arduino may be able to ground the pins. You would need to hack the USB cable though.