This is kind of like a guy falling from the roof of a 20th story building asking a guy looking out a 15th story window for help.
You may have had previous experience with dirt bikes where the consequences of a lay-down are rather minimal.
On the street, the consequences are dire at best. Under 20 mph, you might get away with it. But, even then you may survive the lay-down only to get hit by a car.
You go where you look. I recently heard a statistic that a substantial number of the cars that motorcyclists hit had many feet of run off on either side, yet the bike hit the car with the expected results.
Advice: Don't target fixate on the problem. Look away from it.
Your lay-down will most likely be induced by a locked up rear wheel. Forget your rear brake. The front brake is strong enough to lift the rear off of the ground. You just might be able to stop before you hit the obstacle if you concentrate on the front.
Advice: practice panic stops with the empahsis on use of the front brake.
You may very well could have avoided the situation with a little advanced planning. Always assume the car driver will do the worst possible thing at the worst possible time and have a plan for that contingency.
Advice: Constantly be aware of possible peril and have a plan to avoid it.
Sand, oil, water. Look ahead, notice discolorations on the road surface. On blind turns, reduce you speed.
Advice: when in doubt, slow down.
Advice: Take an MSF course and practice, practice, practice.