Two people have been arrested after a baby girl was attacked by a dog believed to be an XL bully.