Two shires with histories of significant bushfires have each been awarded grants of more than $800,000 to help protect their communities.