There are no accounts specifically set for the camera, but I'm not sure how Samsung's camera app is linked to your photos, so it's best to make sure they are backed up before you clear the app's data. Other than that, as I said, it will reset all the camera settings to default, but that's what you want, really.
It probably wouldn't hurt to reboot the phone after you clear the data, too.
Now, after you do that and you still have the focus problem, then I'd say it was a mechanical defect.