49ers preparing for rugged Buccaneers defense